<%template _header%>

<!--TheCurrent start-->
<div id="foruminfo">
	<div class="userinfo">
		<h2><a href="{Config.WebsiteUrl}">{Config.WebsiteTitle}</a> <strong>用户登录</strong></h2>
	</div>
</div>


<!--TheCurrent end-->
<%if {IsPost}%>
<%if ErrorCount==0%>
<%template _msgbox%>
<%else%>
<%template _errmsgbox%>
<%/if%>

<%else%>
<form id="form1" name="form1" method="post" action="#">
<div class="ntforumbox">
	<div class="titlebar">
		<h3>用户登录</h3>
	</div>
	<div class="forumform">
	<table cellpadding="0" cellspacing="0" border="0">
	<tbody>
		<tr class="list">
				<th class="formlabel">用户名:</th>
				<td class="formbody"><input name="username" type="text" id="username" size="20" class="colorblue" onfocus="this.className='colorfocus';"	onblur="this.className='colorblue';" value="{username}" /> &nbsp; <a href="register.aspx" tabindex="-1" accesskey="r" title="立即注册 (ALT + R)">立即注册</a></td>
		</tr>
	</tbody>
	<tbody>
		<tr class="list">
				<th class="formlabel">密码:</th>
				<td class="formbody"><input name="password" type="password" id="password" size="20" class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" /> &nbsp; <a href="getpassword.aspx" tabindex="-1" accesskey="g" title="忘记密码 (ALT + G)">忘记密码</a></td>
		</tr>
	</tbody>
	<tbody>
		<tr class="list">
				<th class="formlabel"></th>
				<td class="formbody">
				    <input type="checkbox" name="expireTime" value="5256000" />记住我			  
				</td>
		</tr>
	</tbody>
	<tbody>
		<tr class="list">
			<td colspan="2" class="formarea">
						<input name="login" type="submit" id="login" value="登录" onclick="javascript:window.location.replace('?agree=yes')" class="sbutton" />
								&nbsp;&nbsp;
						<input name="cancel" type="button" id="cancel" value="取消" onclick="javascript:window.location.replace('./index.aspx')" class="sbutton" />
			</td>
		</tr>
	</tbody>
	</table>
	</div>
</div>
</form>
<script type="text/javascript">
	document.getElementById("username").focus();
</script>
</div>
<%template _copyright%>
<%/if%>
<%template _footer%>
